for i in lib/commons/*.jar
do
    COMMONS_JARS=${COMMONS_JARS}$CPS$i
done

for i in lib/gson/*.jar
do
    GSON_JARS=${GSON_JARS}$CPS$i
done

for i in lib/jetty/*.jar
do
    JETTY_JARS=${JETTY_JARS}$CPS$i
done

for i in lib/jsch/*.jar
do
    JSCH_JARS=${JSCH_JARS}$CPS$i
done

for i in lib/quickbuild/*.jar
do
    QUICKBUILD_JARS=${QUICKBUILD_JARS}$CPS$i
done

for i in lib/spring/*.jar
do
    SPRING_JARS=${SPRING_JARS}$CPS$i
done

CLASSES=classes

JAVA_OPTIONS="-Xms256m -Xmx1024m"

ENTRY_POINT=com.kilman.logger.runner.RunLogger

classpath="-cp META-INF:$CLASSES:$COMMONS_JARS:$GSON_JARS:$JETTY_JARS:$JSCH_JARS:$QUICKBUILD_JARS:$SPRING_JARS"

COMMAND="java $JAVA_OPTIONS $classpath $ENTRY_POINT"

$COMMAND